package org.eenie.commonlib.component.di.modules

import android.app.Application
import android.content.Context
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

@Module
class GlobalModule(private var mApp: Application)  {


    @Singleton
    @Provides
    fun provideApp(): Application {
        return mApp
    }

    @Singleton
    @Provides
    fun provideContext(): Context {
        return mApp
    }



}